package com.bw.wxy.mvp.di;

import com.bw.wxy.mvp.contract.SplashContract;
import com.bw.wxy.mvp.model.SplashModel;

import dagger.Module;
import dagger.Provides;

@Module
public class ISplshModules {
    private SplashContract.ISplashView view;

    public ISplshModules(SplashContract.ISplashView view) {
        this.view = view;
    }

    @Provides
    public SplashContract.ISplashView ProviderView(){
        return view;
    }

    @Provides
    public SplashContract.ISplashModel ProviderModel(SplashModel model){
        return model;
    }
}

